/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package ch02;

/**
 *
 * @author osa
 */
public class Channel {
    private String name;
    private int freq;

    public Channel(String name, int freq) {
        setName(name);
        setFrequency(freq);
    }

    public String getName() {
        return this.name;
    }
    public void setName(String name) {
        this.name = name;
    }

    public int getFrequency() {
        return this.freq;
    }
    public void setFrequency(int freq) {
        this.freq = freq;
    }

}
